extends StateBase

@onready var player_test: PlayerTest = owner

func enter() -> void:
	super()
	#print("奔跑状态")



## 物理
func physics_process_update(delta: float) -> void:
	super(delta)
	
	player_test.velocity = player_test.velocity * player_test.SPEED
	
	if player_test.velocity == Vector2.ZERO:
		state_machine_node.change_state("Idle")
